//
// Created by LONG on 2020/11/7.
//

#include "l1ApiAdpt.h"
#include "intel/l1Api.h"
#include "scf/l1Api.h"

S_RanL1ApiAdpt *gpRanL1ApiAdpt = NULL;

static S_RanL1ApiAdpt gRanL1ApiAdpt[] =
{
    {RAN_SCF_L1_API_ProcParamsReq, RAN_SCF_L1_API_ProcConfigReq, RAN_SCF_L1_API_ProcStartReq, RAN_SCF_L1_API_TtiProc},
    {RAN_INTEL_L1_API_ProcParamsReq, RAN_INTEL_L1_API_ProcConfigReq, RAN_INTEL_L1_API_ProcStartReq, RAN_INTEL_L1_API_TtiProc},
};
STATIC_ASSERT(ARRAY_SIZE(gRanL1ApiAdpt) == RAN_L1_API_TYPE_BUTT);

int32_t RAN_L2_L1_ADPT_Init(void)
{
    gpRanL1ApiAdpt = &gRanL1ApiAdpt[RAN_L1_API_TYPE_SCF];

    return O5G_RC_OK;
}

int32_t RAN_L2_L1_ADPT_Final(void)
{
    return O5G_RC_OK;
}
